/*
 * Created on Jan 19, 2004
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package com.unash.z3950.pdu;

import com.unash.asn.AsnBoolean;
import com.unash.asn.AsnInteger;

/**
 * @author Ashwini Gokhale
 *
 * To change the template for this generated type comment go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
public class ProximityOperator extends Operator {
	private AsnBoolean exclusion;
	private AsnInteger distance;
	private AsnBoolean ordered;
	private AsnInteger relationType;
	private ProximityUnitCode proximityUnitCode;
	/**
	 * @return
	 */
	public AsnInteger getDistance() {
		return distance;
	}

	/**
	 * @return
	 */
	public AsnBoolean getExclusion() {
		return exclusion;
	}

	/**
	 * @return
	 */
	public AsnBoolean getOrdered() {
		return ordered;
	}

	/**
	 * @return
	 */
	public ProximityUnitCode getProximityUnitCode() {
		return proximityUnitCode;
	}

	/**
	 * @return
	 */
	public AsnInteger getRelationType() {
		return relationType;
	}

	/**
	 * @param integer
	 */
	void setDistance(AsnInteger integer) {
		distance = integer;
	}

	/**
	 * @param boolean1
	 */
	void setExclusion(AsnBoolean boolean1) {
		exclusion = boolean1;
	}

	/**
	 * @param boolean1
	 */
	void setOrdered(AsnBoolean boolean1) {
		ordered = boolean1;
	}

	/**
	 * @param code
	 */
	void setProximityUnitCode(ProximityUnitCode code) {
		proximityUnitCode = code;
	}

	/**
	 * @param integer
	 */
	void setRelationType(AsnInteger integer) {
		relationType = integer;
	}

}
